<?php
/**
* 
*/
require_once("system/load.php");
class get extends GetLoad
{
	public $a;
	public function shiyandengji(){
		$this->load("Model/xuesheng");
		$xuesheng=new ModelXuesheng();
		$this->load("Model/name");
		$namezhuan=new Modelnamezhuanhua();
	
		$name_id=$namezhuan->getname($_COOKIE['name'])['name_id'];
		$key=hash("sha256",date("d-Y-M-h:i:sa"));
		$this->a=$key;
		$a=$_GET['yiqi'];
		foreach ($a as $b) {
			$xuesheng->Getshiyandengji($b,$name_id,$key);
			
		
		}
	}
}

$a=new get();
$a->shiyandengji();
header("Location: ./index.php?route=Controller/xuesheng/ControllerXuesheng/shiyanbaogaov&=".$a->a."/".$_GET['laoshi']."/".$_GET['shiyanshi']); 
